<?php

namespace app\payment\validate;

use think\Validate;

/**
 * 商户认证配置验证器
 */
class MerchantInfo extends Validate {

    //定义验证规则
    protected $rule = [
        'id|商户号' => 'require',
    ];
    //定义验证提示
    protected $message = [
    ];
    //定义验证场景
    protected $scene = [
        //更新
        'update' => ['id' => 'require'],
    ];

}
